package bookstudytest.Compare.Comparator;

/**
 * @Author li.heng
 * @Date 2019/6/19 16
 * @Description:
 **/
public class Student {
    public Student() {
    }

    public Student(String name, String school, String major) {
        this.name = name;
        this.school = school;
        this.major = major;
    }

    private String name;
    private String school;
    private String major;


    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", school='" + school + '\'' +
                ", major='" + major + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }
}
